package travelexperts;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author 618829
 */
public class ProductSuppliers extends javax.swing.JFrame {

    /**
     * Creates new form ProductSuppliers
     */
    public ProductSuppliers() {
        initComponents();
    }

    /**
     * This method is called from within the constructor to initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is always
     * regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        jScrollPane1 = new javax.swing.JScrollPane();
        lstProducts = new javax.swing.JList();
        jScrollPane2 = new javax.swing.JScrollPane();
        lstSuppliers = new javax.swing.JList();
        jScrollPane3 = new javax.swing.JScrollPane();
        lstProdSup = new javax.swing.JList();
        jButton1 = new javax.swing.JButton();
        jButton2 = new javax.swing.JButton();
        jButton3 = new javax.swing.JButton();
        jButton4 = new javax.swing.JButton();
        jButton5 = new javax.swing.JButton();
        jButton6 = new javax.swing.JButton();
        jButton7 = new javax.swing.JButton();
        jButton8 = new javax.swing.JButton();
        jButton9 = new javax.swing.JButton();
        jButton10 = new javax.swing.JButton();
        txtProdName = new javax.swing.JTextField();
        txtSupName = new javax.swing.JTextField();
        jComboBox1 = new javax.swing.JComboBox();
        jComboBox2 = new javax.swing.JComboBox();
        lnlProdName = new javax.swing.JLabel();
        lblSupName = new javax.swing.JLabel();
        lblProds = new javax.swing.JLabel();
        lblSups = new javax.swing.JLabel();
        jSeparator2 = new javax.swing.JSeparator();
        lblProdSup = new javax.swing.JLabel();
        lblProd = new javax.swing.JLabel();
        lblSup = new javax.swing.JLabel();
        mnbMenu = new javax.swing.JMenuBar();
        mnuFile = new javax.swing.JMenu();
        mniClose = new javax.swing.JMenuItem();
        mnuEdit = new javax.swing.JMenu();
        mniPackages = new javax.swing.JMenuItem();
        mniAgents = new javax.swing.JMenuItem();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
        setMinimumSize(new java.awt.Dimension(580, 470));
        getContentPane().setLayout(new org.netbeans.lib.awtextra.AbsoluteLayout());

        jScrollPane1.setViewportView(lstProducts);

        getContentPane().add(jScrollPane1, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 40, 240, 100));

        jScrollPane2.setViewportView(lstSuppliers);

        getContentPane().add(jScrollPane2, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 40, 240, 100));

        jScrollPane3.setViewportView(lstProdSup);

        getContentPane().add(jScrollPane3, new org.netbeans.lib.awtextra.AbsoluteConstraints(170, 240, 320, 100));

        jButton1.setText("Add");
        getContentPane().add(jButton1, new org.netbeans.lib.awtextra.AbsoluteConstraints(280, 40, 70, 40));

        jButton2.setText("Update");
        getContentPane().add(jButton2, new org.netbeans.lib.awtextra.AbsoluteConstraints(280, 90, 70, 40));

        jButton3.setText("Delete");
        getContentPane().add(jButton3, new org.netbeans.lib.awtextra.AbsoluteConstraints(280, 140, 70, 40));

        jButton4.setText("Add");
        getContentPane().add(jButton4, new org.netbeans.lib.awtextra.AbsoluteConstraints(650, 40, 70, 40));

        jButton5.setText("Update");
        getContentPane().add(jButton5, new org.netbeans.lib.awtextra.AbsoluteConstraints(650, 90, 70, 40));

        jButton6.setText("Delete");
        getContentPane().add(jButton6, new org.netbeans.lib.awtextra.AbsoluteConstraints(650, 140, 70, 40));

        jButton7.setText("Add");
        getContentPane().add(jButton7, new org.netbeans.lib.awtextra.AbsoluteConstraints(510, 240, 70, 30));

        jButton8.setText("Update");
        getContentPane().add(jButton8, new org.netbeans.lib.awtextra.AbsoluteConstraints(510, 280, 70, 30));

        jButton9.setText("Delete");
        getContentPane().add(jButton9, new org.netbeans.lib.awtextra.AbsoluteConstraints(510, 320, 70, 30));

        jButton10.setText("Clear");
        getContentPane().add(jButton10, new org.netbeans.lib.awtextra.AbsoluteConstraints(510, 360, 70, 30));
        getContentPane().add(txtProdName, new org.netbeans.lib.awtextra.AbsoluteConstraints(70, 160, 190, -1));
        getContentPane().add(txtSupName, new org.netbeans.lib.awtextra.AbsoluteConstraints(440, 160, 190, -1));

        getContentPane().add(jComboBox1, new org.netbeans.lib.awtextra.AbsoluteConstraints(170, 370, 150, -1));

        getContentPane().add(jComboBox2, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 370, 130, -1));

        lnlProdName.setText("Name:");
        getContentPane().add(lnlProdName, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 160, -1, -1));

        lblSupName.setText("Name:");
        getContentPane().add(lblSupName, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 160, -1, -1));

        lblProds.setText("Products");
        getContentPane().add(lblProds, new org.netbeans.lib.awtextra.AbsoluteConstraints(170, 350, -1, -1));

        lblSups.setText("Suppliers");
        getContentPane().add(lblSups, new org.netbeans.lib.awtextra.AbsoluteConstraints(360, 350, -1, -1));
        getContentPane().add(jSeparator2, new org.netbeans.lib.awtextra.AbsoluteConstraints(0, 200, 740, 20));

        lblProdSup.setText("Product Supplier Pairings");
        getContentPane().add(lblProdSup, new org.netbeans.lib.awtextra.AbsoluteConstraints(170, 220, -1, -1));

        lblProd.setText("Products");
        getContentPane().add(lblProd, new org.netbeans.lib.awtextra.AbsoluteConstraints(20, 20, -1, -1));

        lblSup.setText("Suppliers");
        getContentPane().add(lblSup, new org.netbeans.lib.awtextra.AbsoluteConstraints(390, 20, -1, -1));

        mnuFile.setText("File");

        mniClose.setText("Close");
        mnuFile.add(mniClose);

        mnbMenu.add(mnuFile);

        mnuEdit.setText("Edit");

        mniPackages.setText("Edit Packages");
        mnuEdit.add(mniPackages);

        mniAgents.setText("Edit Agents");
        mnuEdit.add(mniAgents);

        mnbMenu.add(mnuEdit);

        setJMenuBar(mnbMenu);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        /* Set the Nimbus look and feel */
        //<editor-fold defaultstate="collapsed" desc=" Look and feel setting code (optional) ">
        /* If Nimbus (introduced in Java SE 6) is not available, stay with the default look and feel.
         * For details see http://download.oracle.com/javase/tutorial/uiswing/lookandfeel/plaf.html 
         */
        try {
            for (javax.swing.UIManager.LookAndFeelInfo info : javax.swing.UIManager.getInstalledLookAndFeels()) {
                if ("Nimbus".equals(info.getName())) {
                    javax.swing.UIManager.setLookAndFeel(info.getClassName());
                    break;
                }
            }
        } catch (ClassNotFoundException ex) {
            java.util.logging.Logger.getLogger(ProductSuppliers.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (InstantiationException ex) {
            java.util.logging.Logger.getLogger(ProductSuppliers.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (IllegalAccessException ex) {
            java.util.logging.Logger.getLogger(ProductSuppliers.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        } catch (javax.swing.UnsupportedLookAndFeelException ex) {
            java.util.logging.Logger.getLogger(ProductSuppliers.class.getName()).log(java.util.logging.Level.SEVERE, null, ex);
        }
        //</editor-fold>

        /* Create and display the form */
        java.awt.EventQueue.invokeLater(new Runnable() {
            public void run() {
                new ProductSuppliers().setVisible(true);
            }
        });
    }
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JButton jButton1;
    private javax.swing.JButton jButton10;
    private javax.swing.JButton jButton2;
    private javax.swing.JButton jButton3;
    private javax.swing.JButton jButton4;
    private javax.swing.JButton jButton5;
    private javax.swing.JButton jButton6;
    private javax.swing.JButton jButton7;
    private javax.swing.JButton jButton8;
    private javax.swing.JButton jButton9;
    private javax.swing.JComboBox jComboBox1;
    private javax.swing.JComboBox jComboBox2;
    private javax.swing.JScrollPane jScrollPane1;
    private javax.swing.JScrollPane jScrollPane2;
    private javax.swing.JScrollPane jScrollPane3;
    private javax.swing.JSeparator jSeparator2;
    private javax.swing.JLabel lblProd;
    private javax.swing.JLabel lblProdSup;
    private javax.swing.JLabel lblProds;
    private javax.swing.JLabel lblSup;
    private javax.swing.JLabel lblSupName;
    private javax.swing.JLabel lblSups;
    private javax.swing.JLabel lnlProdName;
    private javax.swing.JList lstProdSup;
    private javax.swing.JList lstProducts;
    private javax.swing.JList lstSuppliers;
    private javax.swing.JMenuBar mnbMenu;
    private javax.swing.JMenuItem mniAgents;
    private javax.swing.JMenuItem mniClose;
    private javax.swing.JMenuItem mniPackages;
    private javax.swing.JMenu mnuEdit;
    private javax.swing.JMenu mnuFile;
    private javax.swing.JTextField txtProdName;
    private javax.swing.JTextField txtSupName;
    // End of variables declaration//GEN-END:variables
}
